<?php
use think\facade\Route;

/** 接口路由 */

Route::group(function () {
    // 课程简介
    Route::get('base/<id>/info$', 	'\app\course\logic\base\Course@getCourseInfo');
    // 图文单页
    Route::get('section_data/<id>/data_txt$', '\app\course\logic\video\VideoSection@getDataTxt');
})->pattern(['id' => '\d+'])->middleware(['withoutLogin'])->setOption('is_api', 0);
